<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>register</title>
</head>
<body>

  <!-- 用 post 的提交方式把注册信息提交给 register 这个Servlet处理  -->
  <form action="/register" method="post">
    <table border="1" align="center">
        <caption>学员信息注册</caption>
        <tr>
            <td>学生姓名</td>
            <td>
                <input type="text" name="stuName" id="stuName">
            </td>
            <td>性别</td>
            <td>
                <input type="radio" value="男" name="gender" checked>男
                <input type="radio" value="女" name="gender">女
            </td>
        </tr>
        <tr>
            <td>学历</td>
            <td>
                <select name="degree" id="degree">
                    <option value="1">高中</option>
                    <option value="2">专科</option>
                    <option value="3">本科</option>
                    <option value="4">硕士</option>
                    <option value="5">博士</option>
                </select>
            </td>
            <td>身份证号</td>
            <td>
                <input type="text" name="idCard">
            </td>
        </tr>
        <tr>
            <td>科目</td>
            <td>
                <input type="checkbox" name="project" value="java">java
                <input type="checkbox" name="project" value="mysql">mysql
                <input type="checkbox" name="project" value="html">html
                <input type="checkbox" name="project" value="css">css
            </td>
            <td>学校</td>
            <td>
                <select name="school" id="school">
                    <option value="01">清华大学</option>
                    <option value="02">北京大学</option>
                    <option value="03">庞各庄大学</option>
                    <option value="04">家里蹲大学</option>
                    <option value="05">没上过大学</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>年级</td>
            <td>
                <input type="text" name="grade" id="grade">
            </td>
            <td>联系方式</td>
            <td>
                <input type="tel" name="phone" id="phone">
            </td>
        </tr>
        <tr>
            <td colspan="4" align="center">
                <input type="submit" value="注册">
            </td>
        </tr>
    </table>
  </form>

</body>
</html>